package com.winit.openapi.tms.constant;

/**
 * booking相关常量
 * 
 * @version <pre>
 * Author	Version		Date		Changes
 * ming.chen 	1.0  		2017-9-25 	Created
 * 
 * </pre>
 * @since 1.
 */
public final class BookingConstant {

    // 打拖--是
    public static final String IS_PALLET_Y = "Y";

    /**
     * 派送方式
     * 
     * @version <pre>
     * Author	Version		Date		Changes
     * ming.chen 	1.0  		2017-9-26 	Created
     * 
     * </pre>
     * @since 1.
     */
    public enum DeliveryWayType {
        FCL("FCL", "整柜"), LCL("LCL", "散货"), Express("Express", "快递");

        private String type;
        private String description;

        private DeliveryWayType(String type, String description){
            this.type = type;
            this.description = description;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }
    }

    /**
     * 单据类型
     * 
     * @version <pre>
     * Author	Version		Date		Changes
     * ming.chen 	1.0  		2017-9-25 	Created
     * 
     * </pre>
     * @since 1.
     */
    public enum BookingDocType {
        ORDER("ORDER", "订单"), LOGISTICS_ORDER("LOGISTICS_ORDER", "物流单"), SEND_WAREHOUSE("SEND_WAREHOUSE", "送仓单");

        private String type;
        private String description;

        private BookingDocType(String type, String description){
            this.type = type;
            this.description = description;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }
    }

    /**
     * 预约单类型
     * 
     * @version <pre>
     * Author	Version		Date		Changes
     * ming.chen 	1.0  		2017-9-25 	Created
     * 
     * </pre>
     * @since 1.
     */
    public enum BookingOrderType {
        Normal("Normal", "普通预约"), ValueAdded("ValueAdded", "增至预约");

        private String type;
        private String description;

        private BookingOrderType(String type, String description){
            this.type = type;
            this.description = description;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }
    }

    /**
     * 数据来源
     * 
     * @version <pre>
     * Author	Version		Date		Changes
     * ming.chen 	1.0  		2017-9-25 	Created
     * 
     * </pre>
     * @since 1.
     */
    public enum SourceType {
        BK("BK", "booking"), SW("sw", "卖家网站");

        private String type;
        private String description;

        private SourceType(String type, String description){
            this.type = type;
            this.description = description;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }
    }
}
